#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	vector<string> s;

	string t;
	while (cin >> t) {
		if (t == ".")
			break;
		s.push_back(t);
	}

	if (s.size() > 13) {
		cout << s[1] << " and " << s[13] << " are inviting you to dinner...";
	} else if (s.size() > 1) {
		cout << s[1] << " is the only one for you...";
	} else {
		cout << "Momo... No one is for you ...";
	}

	return 0;
}
